var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/_utils/consts/rules.ts
var rules_exports = {};
__export(rules_exports, {
  alphaIcCn: () => alphaIcCn,
  alphaNumberIc: () => alphaNumberIc,
  alphaNumberIcCn: () => alphaNumberIcCn,
  email: () => email,
  fixphone: () => fixphone,
  idCard: () => idCard,
  integer: () => integer,
  ipv4: () => ipv4,
  ipv6: () => ipv6,
  letters: () => letters,
  mobileCn: () => mobileCn,
  natureInteger: () => natureInteger,
  path: () => path,
  port: () => port,
  positiveInteger: () => positiveInteger,
  post: () => post,
  telephone: () => telephone,
  uniscid: () => uniscid,
  url: () => url,
  xss: () => xss
});
module.exports = __toCommonJS(rules_exports);
var import_utils = require("@szzj/utils");
var alphaIcCn = {
  pattern: import_utils.AlphaIcCnRegExp,
  message: "请输入英文字母、下划线、中文"
};
var alphaNumberIcCn = {
  pattern: import_utils.AlphaNumberIcCnRegExp,
  message: "请输入英文字母、数字、下划线、中文"
};
var alphaNumberIc = {
  pattern: import_utils.AlphaNumberIcRegExp,
  message: "请输入英文字母、数字、下划线"
};
var letters = {
  pattern: import_utils.LettersRegExp,
  message: "请输入正确的字母"
};
var integer = {
  pattern: import_utils.IntegerRegExp,
  message: "请输入正数或负数"
};
var natureInteger = {
  pattern: import_utils.NatureIntegerRegExp,
  message: "请输入正确的自然数"
};
var positiveInteger = {
  pattern: import_utils.PositiveIntegerRegExp,
  message: "请输入正确的正整数"
};
var email = {
  pattern: import_utils.EmailRegExp,
  message: "请输入正确的邮箱"
};
var idCard = { validator: import_utils.IdCardValidator };
var ipv4 = {
  pattern: import_utils.Ipv4RegExp,
  message: "请输入正确的ipv4地址"
};
var ipv6 = {
  pattern: import_utils.Ipv6RegExp,
  message: "请输入正确的ipv6地址"
};
var port = {
  pattern: import_utils.PortRegExp,
  message: "请输入正确的端口号"
};
var url = {
  pattern: import_utils.UrlRegExp,
  message: "请输入正确的链接地址"
};
var path = {
  pattern: import_utils.PathRegExp,
  message: "请输入正确的请求路径"
};
var post = {
  pattern: import_utils.PostRegExp,
  message: "请输入正确的邮政编码"
};
var fixphone = {
  pattern: import_utils.FixphoneRegExp,
  message: "请输入正确的固定电话"
};
var mobileCn = {
  pattern: import_utils.MobileRegExp,
  message: "请输入正确的国内手机号"
};
var telephone = {
  pattern: import_utils.TelphoneRegExp,
  message: "请输入正确的国内手机号或固定电话"
};
var uniscid = {
  pattern: import_utils.UniscidRegExp,
  message: "请输入正确的统一社会信用代码"
};
var xss = { validator: import_utils.XssValidator };
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  alphaIcCn,
  alphaNumberIc,
  alphaNumberIcCn,
  email,
  fixphone,
  idCard,
  integer,
  ipv4,
  ipv6,
  letters,
  mobileCn,
  natureInteger,
  path,
  port,
  positiveInteger,
  post,
  telephone,
  uniscid,
  url,
  xss
});
